
package com.jf.cloud.api.order.vo;

import com.jf.cloud.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 订单信息
 *
 * @author zz
 * @date 2020-12-05 14:13:50
 */
public class FlowOrderVO extends BaseVO {

    @Schema(description = "订单ID" )
    private Long orderId;

    @Schema(description = "用户ID" )
    private Long userId;

    @Schema(description = "商品Id" , required = true)
    private Long spuId;

    @Schema(description = "订单金额" , required = true)
    private Long orderAmount;

    @Schema(description = "是否支付" , required = true)
    private Integer isPayed;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    public Long getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Long orderAmount) {
        this.orderAmount = orderAmount;
    }

    public Integer getIsPayed() {
        return isPayed;
    }

    public void setIsPayed(Integer isPayed) {
        this.isPayed = isPayed;
    }

    @Override
    public String toString() {
        return "FlowOrderVO{" +
                "orderId=" + orderId +
                "userId=" + userId +
                ", spuId=" + spuId +
                ", orderAmount=" + orderAmount +
                ", isPayed=" + isPayed +
                '}';
    }
}
